package com.infoplatform.service;

import java.util.List;
import java.util.Map;

import com.infoplatform.bean.SecondaryCommodity;
import com.infoplatform.bean.SecondarycommodityComment;
import com.infoplatform.bean.Student;
 
public interface SecondaryService {

	public List<SecondaryCommodity> SearchCommodity(String secondaryTag);
	public void AddSecondary(SecondaryCommodity second);
	public List<SecondaryCommodity> SearchCommodityById(Integer id);
	public List<SecondaryCommodity> getTop8();
	public List<Student>QueryCustomer(Integer customerId);
	public List<Student>DeleteCustomer(Integer customerId);
	
	public List<SecondaryCommodity> QueryCommodity(String secondaryTag);
	public List<SecondaryCommodity> DeleteCommodityById(Integer id);
	
	public Map<String,SecondaryCommodity> SearchMap(String secondaryTag);
	public Map<String,SecondarycommodityComment> SearchComment(Integer commodityId);
	
	
	public List<SecondaryCommodity> SearchCommodity_New(String secondaryTag,Integer personalId);
	public Map<String,SecondaryCommodity> EverythingSearch(String searchCondition,String sortType);
}
